import request from 'UTIL/request'

/**
 * 查询活动分页
 * @param params
 */
export function GetCrmActivityPageList(params) {
  return request({
    url: 'crmActivity/getCrmActivityPageList',
    method: 'POST',
    data: params,
    hideLoading: true
  })
}

/**
 * 添加活动分页
 * @param params
 */
export function AddCrmActivityRecord(params) {
  return request({
    url: 'crmActivity/addCrmActivityRecord',
    method: 'POST',
    data: params,
    hideLoading: true
  })
}

/**
 * 删除活动分页
 * @param params
 */
export function DeleteCrmActivityRecord(params) {
  return request({
    url: 'crmActivity/deleteCrmActivityRecord',
    method: 'POST',
    data: params,
    hideLoading: true
  })
}

/**
 * 获取跟进记录类型
 * @param params
 */
export function QueryRecordOptions(params) {
  return request({
    url: 'crmActionRecord/queryRecordOptions',
    method: 'POST',
    data: params
  })
}